package com.gc.business.service;

import com.gc.business.domain.AnnualPlan;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 电梯年检计划 服务层
 * 
 * @author hruiyan
 * @date 2020-12-01
 */
public interface IAnnualPlanService extends IService<AnnualPlan> {
    /**
    * 列表查询
    */
    List<AnnualPlan> list(AnnualPlan annualPlan);

    /**
     * 数据权限查询 --公司
     * @param annualPlan
     * @return
     */
    List<AnnualPlan> selectAnnualPlanList(AnnualPlan annualPlan);


    /**
     * 根据电梯ID查询对应年检计划
     * @param elevatorId
     * @return
     */
    AnnualPlan selectByElevatorId(Long elevatorId);
}
